package com.booklove.service.voluntary;

import com.booklove.domain.dto.PageDTO;
import com.booklove.domain.po.Donatebook;
import com.booklove.domain.po.Voluntarywork;
import com.baomidou.mybatisplus.extension.service.IService;
import com.booklove.domain.query.VoluntaryworkQuery;
import com.booklove.domain.vo.VoluntaryworkVO;

/**
 * <p>
 * 志愿任务 服务类
 * </p>
 *
 * @author author
 * @since 2024-09-22
 */
public interface VoluntaryworkService extends IService<Voluntarywork> {

    PageDTO<VoluntaryworkVO> queryVoluntaryworksPage(VoluntaryworkQuery voluntaryworkQuery);


    /**
     * @description 创建一个收书任务
     * 创建一个收书志愿任务，
     * 会产生一个收书的派送实体，状态设置为待接单
     * 设置志愿任务的状态为待接单
     *
     * @author zken
     * @CreateDate 2024/10/19 16:56:19
     */
    void createCollectDonateBookWord(Donatebook donatebook);
}
